package com.wuseguang.springcloud.service;

import com.wuseguang.springcloud.entity.AreaPlatform;
import com.wuseguang.springcloud.util.Result;

/**
 * <p>
 * 区级平台账号 服务类
 * </p>
 *
 * @author 
 * @since 2020-08-12
 */
public interface AreaPlatformService {

    Result addAreaPlatform(AreaPlatform areaPlatform);

    Result updateAreaPlatform(AreaPlatform areaPlatform);

    Result delteAreaPlatform(Integer id);

    Result findAreaPopulation(Integer areaPlatformId);

    Result findAreaUsageRecord(Integer areaPlatformId);

    Result findAreaBinding(Integer areaPlatformId);

    Result findAreaSchool(Integer areaPlatformId);

    Result findAreaSchoolsBinding(Integer areaPlatformId);

    Result findArea30DaysActive(Integer areaPlatformId);

    Result findArea30DaysUseData(Integer areaPlatformId, Integer schoolId);

    Result findAreaPlatform(String adminId,String role,Integer indexNo,Integer rows);

    Result findCumulativeData(Integer areaPlatformId);

    Result findAreaLeaveAndEnter(Integer areaPlatformId);

    Result findAreaActivityNumber(Integer areaPlatformId);

    Result findArea30DayTemperature(Integer areaPlatformId);

    Result findAreaDateTotalRanking(Integer areaPlatformId);

    Result findSchoolUser(Integer areaPlatformId, Integer schoolId);

    Result findSchoolFaceRegistration(Integer areaPlatformId, Integer schoolId);

    Result findLeavingSchool(Integer areaPlatformId, Integer schoolId);

    Result findParentsMessage(Integer areaPlatformId, Integer schoolId);

    Result findDataPrecipitation(Integer areaPlatformId, Integer schoolId);

    Result findShoolbancard(Integer areaPlatformId, Integer schoolId);

    Result findTotalMonthlyEvaluation(Integer areaPlatformId, Integer schoolId);

    Result findAttendanceRanking(Integer areaPlatformId, Integer schoolId, Integer type);

    Result findSchoolGrade(Integer areaPlatformId, Integer schoolId);

    Result findGradeRankingLastWeek(Integer valueOf, Integer schoolId, Integer gradeId);
}
